ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 6 - No. 22)

Which loop structure is best used when the number of iterations is known before the loop starts?
REPEAT ... UNTIL
WHILE ... DO ... ENDWHILE
FOR ... TO ... NEXT
IF ... THEN ... ELSE ... ENDIF

Giải thích

The FOR loop is specifically designed for iterating a predetermined number of times.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc